package com.atde._03_creational_design_patterns.fcatory.mydemo.demo01;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._03_creational_design_patterns.fcatory.mydemo.demo01
 * @Author: Del
 * @CreateTime: 2025-06-03  08:26
 * @Description: 简单工厂实现 --- Operation运算类
 * @Version: 1.0
 */
public abstract class Operation {

    /***
     * @author: Del
     * @date: 2025/6/3 8:28
     * @param numberA 第一个数
     * @param numberB  第二个数
     * @return double 返回运算结果
     * @description: 由具体的运算子类实现
     */
    double getResult(double numberA ,double numberB){
        return 0d;
    }
}
